import React from 'react';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';

import { store, persistor } from './redux/store';

import Child from './Child';
import './css/index.css';

const App = (props) => {
  return (
    <>
      {/* 其他内容 */}

      <Provider store={store}>
        <PersistGate
          loading={null}
          persistor={persistor}>
          <Child></Child>
        </PersistGate>
      </Provider>
    </>
  );
};

export default App;
